<div class="modal-body">
<div class="alert_right">
<p id="succeedmessage"></p>
       <p id="succeedlocation" class="alert_btnleft">{$message}</p>
        <p class="alert_btnleft"><a href="{$referer}" id="succeedmessage_href">{$template}</a></p>
        </div>
    </div>
</div><script type="text/javascript">setTimeout("window.location.href ='{$referer}';", 3000);</script></div>